/**
 * output package name
 */
package com.kingdee.eas.custom.hr.affair.contract;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class ApproveOptEnum extends IntEnum
{
    public static final int EMPTY_VALUE = 1;
    public static final int RENEWAL_VALUE = 2;
    public static final int TERMINATION_VALUE = 3;

    public static final ApproveOptEnum EMPTY = new ApproveOptEnum("EMPTY", EMPTY_VALUE);
    public static final ApproveOptEnum RENEWAL = new ApproveOptEnum("RENEWAL", RENEWAL_VALUE);
    public static final ApproveOptEnum TERMINATION = new ApproveOptEnum("TERMINATION", TERMINATION_VALUE);

    /**
     * construct function
     * @param integer approveOptEnum
     */
    private ApproveOptEnum(String name, int approveOptEnum)
    {
        super(name, approveOptEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static ApproveOptEnum getEnum(String approveOptEnum)
    {
        return (ApproveOptEnum)getEnum(ApproveOptEnum.class, approveOptEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static ApproveOptEnum getEnum(int approveOptEnum)
    {
        return (ApproveOptEnum)getEnum(ApproveOptEnum.class, approveOptEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(ApproveOptEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(ApproveOptEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(ApproveOptEnum.class);
    }
}